{include file="public/header" /}
<style>
    .qy-list{
        width: 92%;
        margin: 0 auto !important;
        padding-bottom: 20px;
    }
    .qy-list li{
        width: 100%;
        float: left;
        height: 60px;
        line-height: 60px;
        border-bottom: 1px solid #eee;
    }
    .qy-list li a{
        width: 100%;
        font-size: 0.899rem;
        display: flex;
        color: var(--c3);
        align-items: center;
    }
    .qy-list li a span{
        flex: 1;
        margin-left: 0.42rem;
    }

    .qy-list li img{
        width: 1.4rem;
        height: 1.2rem;
    }
</style>
<body class="hide-top">
<div class="profile-news">
    <p class="flex-center">
        <img src="{if $user.photo}{$user.photo}{else}cache('system')['default_photo']{/if}" alt="">
    </p>
    <div>
        <p class="name">{$user.nickname}【{$user.code}】
            {if $user.level}<a class="layui-badge layui-bg-green" style="background-color:#1CC87A!important;">{$user.level.title}</a>{/if}
        </p>
        <p>手机号：<?php echo substr_replace($user->mobile,'****',3,4);?></p>
    </div>
</div>
<div class="profile-order bgc profile-lists">
    <div class="flex-layout">我的权益</div>
    <ul class="qy-list">
        <li>
            <a href="{:url('help/info')}">
                <img src="/static/index/img/icon24.png" alt="">
                <span>申请互助</span>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
        <li>
            <a href="{:url('help/list')}">
                <img src="/static/index/img/icon27.png" alt="">
                <span>保障中</span>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
        <li>
            <a href="{:url('help/myaccount')}">
                <img src="/static/index/img/icon25.png" alt="">
                <span>我的分摊</span>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
        <li>
            <a href="{:url('help/help_index')}">
                <img src="/static/index/img/icon26.png" alt="">
                <span>关爱公示</span>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
        <li style=" border: none !important;">
            <a href="{:url('remit/help_index')}">
                <img src="/static/index/img/icon23.png" alt="">
                <span>关爱充值</span>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
        <div style="clear: both;"></div>
    </ul>
</div>
{include file="public/menu" select="4" /}
</body>
{include file="public/footer"/}
<script>
    $('.logout').click(function (){
        layer.confirm('是否退出登录？', {title: '请确认'}, function (index) {
            _ajax('{:url("user/logout")}');
        });
    });
</script>
</html>